package com.justenholter.utils {
	
	import flash.display.DisplayObject;
	
	public function scaleToFill(target:DisplayObject, width:Number, height:Number):void {
		target.width = width;
		target.height = height;
		target.scaleX =
		target.scaleY = Math.max(target.scaleX, target.scaleY);
	}
}